﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SmartSpace.News
{
    public interface IAssetService
    {
        ServiceResult SaveAsset(Asset asset);

        ServiceResult DeleteAsset(Guid id);

        SingleResult<Asset> GetAsset(Guid id);

        ServiceResult SaveCategory(AssetCategory category);

        ServiceResult DeleteCategory(Guid id);

        SingleResult<AssetCategory> GetCategory(Guid id);

        ListResult<AssetCategory> GetCategories();
    }
}
